package edu.uit.se.slgroup.construct.services;

import java.util.List;

import edu.uit.se.slgroup.construct.domain.Article;
import edu.uit.se.slgroup.construct.domain.ArticleTemp;

public interface ArticleService {
	
	// insert
	public int insertArticle(Article article);

	// get list article
	public List<Article> getArticleList();
	
	// get list article with name subcategory
	public List<ArticleTemp> getArticleTempList();

	// get article
	public Article getArticleById(int id);

	// update
	public int updateArticle(Article article);

	// delete
	public int deleteArticle(int id);
}
